.chatDetailPage {
  height: 100%;
  box-sizing: border-box;
  padding-bottom: 47px;

  &.onBottomStrech {
    padding-bottom: 190px;
  }

  .messageBox {
    height: calc(100% - 59px);
    overflow-y: scroll;
  }

  .am-list-body {
    background: transparent;
    border: none;
    overflow: auto;
  }

  .timeBar {
    margin-top: 16px;
    font-size: 14px;
    color: rgba(0,0,0,0.45);
    line-height: 22px;
    text-align: center;
    background-color: transparent;
  }

  .leftWrap, .rightWrap {
    overflow: hidden;
  }

  .message {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 24px;
    word-break: break-word;
    text-overflow: hidden;
  }

  .left {
    display: flex;
    align-items: flex-start;
    max-width: 75%;
    margin: 16px 12px 0;
    align-items: top;

    .nickName {
      font-size: 12px;
      color: rgba(0,0,0,0.45);
      line-height: 20px;
    }

    .message {
      padding: 8px 12px;
      background-color: #fff;
      border-radius: 0 6px 6px 6px;
    }
  }

  .bottomInfo {
    margin-top: 6px;
    font-size: 14px;
    color: rgba(0,0,0,0.45);
  }

  .haveReadMark.read {
    color: rgba(0,0,0,0.45);
  }

  .haveReadMark.unread {
    color: #0091FF
  }

  .right {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  .leftContent {
    max-width: 75%;
  }

  .rightContent {
    float: right;
    max-width: 75%;
    margin: 16px 12px;

    .message {
      float: right;
      background-color: #CCE9FF;
      padding: 8px 12px;
      border-radius: 6px 0 6px 6px;
    }

    .bottomInfo {
      clear: both;
      text-align: right;
    }
  }
}